package com.woniu.exception.order;

public enum OrderExceptionCode {
    ORDER_EXCEPTION_CODE_DATE(10001,"订单超时"),
    ORDER_EXCEPTION_CODE_NOT_ONE(10002,"订单不一致"),
    ORDER_EXCEPTION_CODE_ACCOUNT(10001,"账号不存在"),
    ORDER_EXCEPTION_CODE_VISIT(10001,"回访信息不存在"),
    ORDER_EXCEPTION_CODE_NO_ORDER(10002,"订单不存在");
    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }


    OrderExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
